/**      
 * @file		StackRunner.cpp
 * @description		This demonstrates the use of a Stack.
 *			We push things into the stack and pop them off.
 * @course		CSCI 123 Section 00000
 * @assignment 
 * @date		mm/dd/yyyy
 * @author		Brad Rippe (00000000) brippe@fullcoll.edu
 * @version		1.0
 */
#include <iostream>
#include "Stack.h"
using namespace std;
using namespace CSCI123;

/**
 * @return zero if the application executes successfully
 */
int main() {

	Stack strStack;

	cout << "Pushing data into the stack.\n";
	strStack.push("Brad");
	strStack.push("Sue");
	strStack.push("John");

	cout << "Outputting stack in reverse order from the top down\n";
	cout << strStack << endl;
	
	while(!strStack.isEmpty()) {
		cout << "Popping " << strStack.pop() << endl;
	}

	cout << strStack << endl;
	return 0;
}
